<?php
$host = '128.196.51.248';
$port = 8099;
    
$socket = socket_create(AF_INET, SOCK_STREAM, 0) or die("Could not create socket\n");

//$result = socket_bind($socket, $host, $port) or die("Could not bind to socket\n");

$result = socket_connect($socket, $host, $port) or die("Could not connect to socket\n");

$read = socket_recv($socket, &$buf, 1024, 0);
echo $buf;


socket_close($socket);

?>